package com.ricervcvcer.order.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 库存表，代表库存，秒杀库存等信息
 * </p>
 *
 * @author moge
 * @since 2022-01-06
 */
@Data
@ApiModel(value="TbStock对象", description="库存表，代表库存，秒杀库存等信息")
public class TbStock implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "库存对应的商品sku id")
    private Long skuId;

    @ApiModelProperty(value = "可秒杀库存")
    private Integer seckillStock;

    @ApiModelProperty(value = "秒杀总数量")
    private Integer seckillTotal;

    @ApiModelProperty(value = "库存数量")
    private Integer stock;


}
